package com.hl.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 电影对象 film
 * 
 * @author Jimbo
 * @date 2025-03-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class Film implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty(name = "id", value = "主键id")
    private Long id;

    /** 电影名称 */
    @ApiModelProperty(name = "name", value = "电影名称")
    private String name;

    /** 电影英文名称 */
    @ApiModelProperty(name = "englishName", value = "电影英文名称")
    private String englishName;

    /** 所属区域 */
    @ApiModelProperty(name = "regionId", value = "所属区域id")
    private Long regionId;

    /** 电影时长 */
    @ApiModelProperty(name = "duration", value = "电影时长")
    private Long duration;

    /** 上映时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "releaseDate", value = "上映时间")
    private Date releaseDate;

    /** 上映区域 */
    @ApiModelProperty(name = "showingArea", value = "上映区域")
    private String showingArea;

    /** 海报图片链接 */
    @ApiModelProperty(name = "posterUrl", value = "海报图片链接")
    private String posterUrl;

    /** 电影简介 */
    @ApiModelProperty(name = "introduction", value = "电影简介")
    private String introduction;

    /** 删除状态(0正常、1删除) */
    private Long del;


}
